package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.Data;

import java.math.BigDecimal;

/**
 *
 * 会员权益domain
 * @author: chenxiaolin
 * @date 2023/11/6 14:35
**/
@Data
@TableName("member_benefit")
public class MemberBenefitDomain extends BaseDomain {
    private String name;

    private String icon;

    private String activeIcon;

    private String content;

    /**
     * 商品折扣
     */
    private BigDecimal rate;

    /**
     * 会员日 1-31
     */
    private Integer date;

    private Integer sort;

    private Boolean isEnabled;

    /**
     * 权益类型  1折扣 2.运费 3会员日 4自定义
     */
    private Integer type;

    /**
     * 运费模板id
     */
    private Long freightTemplateId;

    @TableLogic
    private Boolean deleted;
}

